﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Yunwei.Domain.Models;

namespace Yunwei.Web.Models
{
    public class RestaurantViewModel
    {
        private Restaurant restaurant;
        public Restaurant Restaurant
        {
            get
            {
                if (restaurant == null)
                    restaurant = new Restaurant();
                return restaurant;
            }
            set { restaurant = value; }
        }

        private List<Staff> staffs;
        public List<Staff> Staffs
        {
            get {
                if (staffs == null)
                    staffs = new List<Staff>();
                return staffs; }
            set { staffs = value; }
        }

        private List<Food> foods;
        public List<Food> Foods
        {
            get
            {
                if (foods == null)
                    foods = new List<Food>();
                return foods;
            }
            set { foods = value; }
        }

        private List<Artical> articals;
        public List<Artical> Articals
        {
            get
            {
                if (articals == null)
                    articals = new List<Artical>();
                return articals;
            }
            set { articals = value; }
        }
    }
}